﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000A6 RID: 166
	internal class FixNegativeInt64 : IInt64Decoder
	{
		// Token: 0x060002A1 RID: 673 RVA: 0x0000B7E1 File Offset: 0x00009BE1
		private FixNegativeInt64()
		{
		}

		// Token: 0x060002A2 RID: 674 RVA: 0x0000B7E9 File Offset: 0x00009BE9
		public long Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 1;
			return (long)((sbyte)bytes[offset]);
		}

		// Token: 0x040000C7 RID: 199
		internal static readonly IInt64Decoder Instance = new FixNegativeInt64();
	}
}
